package com.yijumao.service;

import com.yijumao.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author konley
 * @date 2020-10-19 21:16
 */
public interface UserService {

    /**
     * description: 用户注册
     * @param user
     * @return void
     */
    void register(User user);

    /**
     * description: 用户登录
     * @param username
     * @param password
     * @return User
     */
    User login(String username, String password);
}
